amends "../snippetTest.pkl"

local function equals(left, right) = left == right

facts {
  ["mix EqualsNode specializations (VmValue first)"] {
    equals(42.s, 42.s)
    !equals(42.s, 43.s)
    equals(42.mb, 42.mb)
    !equals(42.mb, 43.mb)
    equals(new Dynamic { name = "Pigeon" }, new Dynamic { name = "Pigeon" })
    !equals(new Dynamic { name = "Pigeon" }, new Dynamic { name = "Parrot" })
    equals("Pigeon", "Pigeon")
    !equals("Pigeon", "Parrot")
    equals(42, 42)
    !equals(42, 43)
    equals(1.23, 1.23)
    !equals(1.23, 1.24)
    equals(true, true)
    !equals(true, false)
  }
}
